package com.ruoyi.logisticsassignment.service;

import java.util.List;
import com.ruoyi.logisticsassignment.domain.Logisticsassignment;

/**
 * 配送员Service接口
 * 
 * @author sqltudent
 * @date 2025-07-01
 */
public interface ILogisticsassignmentService 
{
    /**
     * 查询配送员
     * 
     * @param assignmentId 配送员主键
     * @return 配送员
     */
    public Logisticsassignment selectLogisticsassignmentByAssignmentId(Long assignmentId);

    /**
     * 查询配送员列表
     * 
     * @param logisticsassignment 配送员
     * @return 配送员集合
     */
    public List<Logisticsassignment> selectLogisticsassignmentList(Logisticsassignment logisticsassignment);

    /**
     * 新增配送员
     * 
     * @param logisticsassignment 配送员
     * @return 结果
     */
    public int insertLogisticsassignment(Logisticsassignment logisticsassignment);

    /**
     * 修改配送员
     * 
     * @param logisticsassignment 配送员
     * @return 结果
     */
    public int updateLogisticsassignment(Logisticsassignment logisticsassignment);

    /**
     * 批量删除配送员
     * 
     * @param assignmentIds 需要删除的配送员主键集合
     * @return 结果
     */
    public int deleteLogisticsassignmentByAssignmentIds(Long[] assignmentIds);

    /**
     * 删除配送员信息
     * 
     * @param assignmentId 配送员主键
     * @return 结果
     */
    public int deleteLogisticsassignmentByAssignmentId(Long assignmentId);
}
